package com.yaj.mesif.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "TiCompoItemDto")
public class TiCompoItemDto {
    @ApiModelProperty(value = "制造订单号")
    private String orderid;

    @ApiModelProperty(value = "工程連番 固定设置成10")
    private BigDecimal sequencenumber;

    @ApiModelProperty(value = "構成品目コード")
    private String itemid;

    @ApiModelProperty(value = "構成品目名称")
    private String itemname;

    @ApiModelProperty(value = "単位")
    private String unitmeasurecode;

    @ApiModelProperty(value = "棚番")
    private String locationnumber;

    @ApiModelProperty(value = "構成部品払出保管場所コード")
    private String supplysubinventrycode;

    @ApiModelProperty(value = "供給タイプコード  固定设置成4")
    private BigDecimal wipsupplytypecode;

    @ApiModelProperty(value = "予定出庫数")
    private BigDecimal requiredquantity;

    @ApiModelProperty(value = "実出庫数 固定设置成0")
    private BigDecimal issuedquantity;

    @ApiModelProperty(value = "オープン数量")
    private BigDecimal openquantity;

    @ApiModelProperty(value = "製造部署ID")
    private String mfgstid;

    @ApiModelProperty(value = "必要日")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date requiredate;

    @ApiModelProperty(value = "処理フラグ 固定设置成0")
    private String processflag;

    @ApiModelProperty(value = "レコード作成者ID")
    private String createdBy;

}
